package com.tcgroup.phone.base_core.event.event_bus;

/**
 * 作者: wangfei
 * 创建时期: 2020/3/16.
 * 包名: com.tcgroup.phone.base_core.enevt
 * 类名: HibeautyNew-Android
 * 需要传入的参数
 */
public class BaseEvent<T> {
    public int code;//编码
    public T data;

    public BaseEvent(int code, T data) {
        this.code = code;
        this.data = data;
    }

    public BaseEvent(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
